﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace cap_demo.Domain.Abstractions
{
    /// <summary>
    /// 接收TDomainEvent分发的事件处理
    /// </summary>
    /// <typeparam name="TDomainEvent"></typeparam>
    public interface IDomainEventHandler<TDomainEvent> : INotificationHandler<TDomainEvent> 
        where TDomainEvent: IDomainEvent
    {
    }
}
